import request from '@/utils/request'

export function Save(dto) {
  return request({
    url: '/services/app/Notice/Save',
    method: 'post',
    data: dto
  })
}

export function GetDetail(query) {
  return request({
    url: '/services/app/Notice/GetDetail',
    method: 'get',
    params: query
  })
}

export function GetPageList(query) {
  return request({
    url: '/services/app/Notice/GetPageList',
    method: 'get',
    params: query
  })
}

export function DeleteNotice(dto) {
  return request({
    url: '/services/app/Notice/DeleteNotice',
    method: 'delete',
    params: dto
  })
}
